package org.example.commonapi.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 记录用户对每个标签的点击量
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Personality {

    private Integer id;

    private Long userId;

    private String tag;

    private Integer clickCount;

    public Personality(Long userId, String tag,Integer clickCount){
        this.userId = userId;
        this.tag = tag;
        this.clickCount = clickCount;
    }

}
